/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package DBTransmit;

import java.security.Key;

/**
 *
 * @author LEHOANGKHANH
 */
public class TableUserRecord {
    String userName = null;
    String passWord = null;
    String fullName = null;
    String diaChi = null;
    String SDT = null; 
    String CMND = null;
    String TKNH = null;
    Key publicKeyRSA = null;
    Key publicKeySign = null;
    
    public TableUserRecord(){
        
    }
    public TableUserRecord(String username, String pass){
        this.userName = username;
        this.passWord = pass;
    }
    public TableUserRecord(String user, String pass, String fullname, String dc, String sdt, String cmnd, String tknh,Key keyrsa, Key keysign ){
        this.userName = user;
        this.passWord = pass;
        this.fullName = fullname;
        this.diaChi = dc;
        this.SDT = sdt;
        this.CMND = cmnd;
        this.TKNH = tknh;
        this.publicKeyRSA = keyrsa;
        this.publicKeySign = keysign;
    }
    public void setUserName(String username){
        this.userName = username;
    }
    public void setPassWord(String pass){
        this.passWord = pass;
    }
    public void setFullName(String fullname){
        this.fullName = fullname;
    }
    public void setDiaChi(String dc){
        this.diaChi = dc;
    }
    public void setSDT(String sdt){
        this.SDT = sdt;
    }
    public void setCMND(String cmnd){
        this.CMND = cmnd;
    }
    public void setTKNH(String tknh){
        this.TKNH = tknh;
    }
    public void setPublicKeyRSA(Key key){
        this.publicKeyRSA = key;
    }
    public void setPublicKeySign(Key key){
        this.publicKeySign = key;
    }    
    public String getUserName(){
        return this.userName;
    }
    public String getPassWord(){
        return this.passWord;
    }
    public String getFullName(){
        return this.fullName;
    }
    public String getDiaChi(){
        return this.diaChi;
    }
    public String getCMND(){
        return this.CMND;
    }
    public String getSDT(){
        return this.SDT;
    }
    public String getTKNH(){
        return this.TKNH;
    }
    public Key getPublicKeyRSA(){
        return this.publicKeyRSA;
    }
    public Key getPublicKeySign(){
        return this.publicKeySign;
    }
}
